[INFO] cloning repository https://github.com/ivanceras/dota-sql
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ivanceras/dota-sql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fdota-sql", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fdota-sql'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d49ed00602526db350fe84bba671349095b91da7
[INFO] building ivanceras/dota-sql against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fdota-sql" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ivanceras/dota-sql on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ivanceras/dota-sql
[INFO] finished tweaking git repo https://github.com/ivanceras/dota-sql
[INFO] tweaked toml for git repo https://github.com/ivanceras/dota-sql written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/ivanceras/dota-sql already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_json v1.0.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b72e290ccf6374b23fd84ae8b41c9487fe85c2c432296eb05fde81432bb2f86b
[INFO] running `Command { std: "docker" "start" "-a" "b72e290ccf6374b23fd84ae8b41c9487fe85c2c432296eb05fde81432bb2f86b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b72e290ccf6374b23fd84ae8b41c9487fe85c2c432296eb05fde81432bb2f86b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b72e290ccf6374b23fd84ae8b41c9487fe85c2c432296eb05fde81432bb2f86b", kill_on_drop: false }`
[INFO] [stdout] b72e290ccf6374b23fd84ae8b41c9487fe85c2c432296eb05fde81432bb2f86b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f218fc64f2ad8157fa41bf9cb196fc7275cf72e16a897446e8ba0ef29fa1c939
[INFO] running `Command { std: "docker" "start" "-a" "f218fc64f2ad8157fa41bf9cb196fc7275cf72e16a897446e8ba0ef29fa1c939", kill_on_drop: false }`
[INFO] [stderr]    Compiling dtoa v0.4.2
[INFO] [stderr]    Compiling num-traits v0.1.41
[INFO] [stderr]    Compiling itoa v0.3.4
[INFO] [stderr]    Compiling serde v1.0.26
[INFO] [stderr]    Compiling hex v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.8
[INFO] [stderr]    Compiling dota v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: couldn't read src/../dotaconstants/build/hero_names.json: No such file or directory (os error 2)
[INFO] [stdout]   --> src/heroes.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let heroes_json = include_str!("../dotaconstants/build/hero_names.json");
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../dotaconstants/build/abilities.json: No such file or directory (os error 2)
[INFO] [stdout]   --> src/abilities.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let abilities_json = include_str!("../dotaconstants/build/abilities.json");
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../dotaconstants/build/ability_ids.json: No such file or directory (os error 2)
[INFO] [stdout]   --> src/abilities.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let ability_ids_json = include_str!("../dotaconstants/build/ability_ids.json");
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../dotaconstants/build/hero_abilities.json: No such file or directory (os error 2)
[INFO] [stdout]   --> src/hero_ability.rs:18:31
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let hero_abilities_json = include_str!("../dotaconstants/build/hero_abilities.json");
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../dotaconstants/build/ability_ids.json: No such file or directory (os error 2)
[INFO] [stdout]   --> src/hero_ability.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let ability_ids_json = include_str!("../dotaconstants/build/ability_ids.json");
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../dotaconstants/build/hero_names.json: No such file or directory (os error 2)
[INFO] [stdout]   --> src/hero_ability.rs:63:27
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let hero_names_json = include_str!("../dotaconstants/build/hero_names.json");
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../dotaconstants/build/items.json: No such file or directory (os error 2)
[INFO] [stdout]   --> src/items.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let items_json = include_str!("../dotaconstants/build/items.json");
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/heroes.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde_json::{self, Value, Error};
[INFO] [stdout]   |                               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/abilities.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/items.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stdout]  --> src/heroes.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]   --> src/heroes.rs:56:29
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let img_path = img_path.trim_right_matches('?');
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated associated function
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let img_path = img_path.trim_end_matches('?');
[INFO] [stdout]    |                             ~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dota` due to 8 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f218fc64f2ad8157fa41bf9cb196fc7275cf72e16a897446e8ba0ef29fa1c939", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f218fc64f2ad8157fa41bf9cb196fc7275cf72e16a897446e8ba0ef29fa1c939", kill_on_drop: false }`
[INFO] [stdout] f218fc64f2ad8157fa41bf9cb196fc7275cf72e16a897446e8ba0ef29fa1c939
